home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / gnu / glibc108.gz / glibc108 / glibc-1.08.1 / sysdeps / mach / hurd / errlist.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-08  |  4.8 KB  |  94 lines

  1. /* This file is generated from errno.texi by errlist.awk.  */
  2.  
  3. #ifndef HAVE_GNU_LD
  4. #define _sys_nerr sys_nerr
  5. #define _sys_errlist sys_errlist
  6. #endif
  7.  
  8. const char *_sys_errlist[] =
  9.   {
  10.     "Success",
  11.     "Operation not permitted",          /* 1 = EPERM */
  12.     "No such file or directory",        /* 2 = ENOENT */
  13.     "No such process",                  /* 3 = ESRCH */
  14.     "Interrupted system call",          /* 4 = EINTR */
  15.     "Input/output error",               /* 5 = EIO */
  16.     "Device not configured",            /* 6 = ENXIO */
  17.     "Argument list too long",           /* 7 = E2BIG */
  18.     "Exec format error",                /* 8 = ENOEXEC */
  19.     "Bad file descriptor",              /* 9 = EBADF */
  20.     "No child processes",               /* 10 = ECHILD */
  21.     "Resource deadlock avoided",        /* 11 = EDEADLK */
  22.     "Cannot allocate memory",           /* 12 = ENOMEM */
  23.     "Permission denied",                /* 13 = EACCES */
  24.     "Bad address",                      /* 14 = EFAULT */
  25.     "Block device required",            /* 15 = ENOTBLK */
  26.     "Device busy",                      /* 16 = EBUSY */
  27.     "File exists",                      /* 17 = EEXIST */
  28.     "Invalid cross-device link",        /* 18 = EXDEV */
  29.     "Operation not supported by device",/* 19 = ENODEV */
  30.     "Not a directory",                  /* 20 = ENOTDIR */
  31.     "Is a directory",                   /* 21 = EISDIR */
  32.     "Invalid argument",                 /* 22 = EINVAL */
  33.     "Too many open files",              /* 23 = EMFILE */
  34.     "Too many open files in system",    /* 24 = ENFILE */
  35.     "Inappropriate ioctl for device",   /* 25 = ENOTTY */
  36.     "Text file busy",                   /* 26 = ETXTBSY */
  37.     "File too large",                   /* 27 = EFBIG */
  38.     "No space left on device",          /* 28 = ENOSPC */
  39.     "Illegal seek",                     /* 29 = ESPIPE */
  40.     "Read-only file system",            /* 30 = EROFS */
  41.     "Too many links",                   /* 31 = EMLINK */
  42.     "Broken pipe",                      /* 32 = EPIPE */
  43.     "Numerical argument out of domain", /* 33 = EDOM */
  44.     "Numerical result out of range",    /* 34 = ERANGE */
  45.     "Operation would block",            /* 35 = EWOULDBLOCK */
  46.     "Operation now in progress",        /* 36 = EINPROGRESS */
  47.     "Operation already in progress",    /* 37 = EALREADY */
  48.     "Socket operation on non-socket",   /* 38 = ENOTSOCK */
  49.     "Destination address required",     /* 39 = EDESTADDRREQ */
  50.     "Message too long",                 /* 40 = EMSGSIZE */
  51.     "Protocol wrong type for socket",   /* 41 = EPROTOTYPE */
  52.     "Protocol not available",           /* 42 = ENOPROTOOPT */
  53.     "Protocol not supported",           /* 43 = EPROTONOSUPPORT */
  54.     "Socket type not supported",        /* 44 = ESOCKTNOSUPPORT */
  55.     "Operation not supported",          /* 45 = EOPNOTSUPP */
  56.     "Protocol family not supported",    /* 46 = EPFNOSUPPORT */
  57.     "Address family not supported by protocol family",/* 47 = EAFNOSUPPORT */
  58.     "Address already in use",           /* 48 = EADDRINUSE */
  59.     "Can't assign requested address",   /* 49 = EADDRNOTAVAIL */
  60.     "Network is down",                  /* 50 = ENETDOWN */
  61.     "Network is unreachable",           /* 51 = ENETUNREACH */
  62.     "Network dropped connection on reset",/* 52 = ENETRESET */
  63.     "Software caused connection abort", /* 53 = ECONNABORTED */
  64.     "Connection reset by peer",         /* 54 = ECONNRESET */
  65.     "No buffer space available",        /* 55 = ENOBUFS */
  66.     "Socket is already connected",      /* 56 = EISCONN */
  67.     "Socket is not connected",          /* 57 = ENOTCONN */
  68.     "Can't send after socket shutdown", /* 58 = ESHUTDOWN */
  69.     "Connection timed out",             /* 59 = ETIMEDOUT */
  70.     "Connection refused",               /* 60 = ECONNREFUSED */
  71.     "Too many levels of symbolic links",/* 61 = ELOOP */
  72.     "File name too long",               /* 62 = ENAMETOOLONG */
  73.     "Host is down",                     /* 63 = EHOSTDOWN */
  74.     "No route to host",                 /* 64 = EHOSTUNREACH */
  75.     "Directory not empty",              /* 65 = ENOTEMPTY */
  76.     "Too many users",                   /* 66 = EUSERS */
  77.     "Disc quota exceeded",              /* 67 = EDQUOT */
  78.     "Stale NFS file handle",            /* 68 = ESTALE */
  79.     "Too many levels of remote in path",/* 69 = EREMOTE */
  80.     "No locks available",               /* 70 = ENOLCK */
  81.     "Function not implemented",         /* 71 = ENOSYS */
  82.     "Inappropriate operation for background process",/* 72 = EBACKGROUND */
  83.     "?",                                /* 73 = ED */
  84.     "You really blew it this time",     /* 74 = EGREGIOUS */
  85.     "Computer bought the farm",         /* 75 = EIEIO */
  86.     "Gratuitous error",                 /* 76 = EGRATUITOUS */
  87.   };
  88.  
  89. #include <errno.h>
  90. #if _HURD_ERRNOS != 77
  91. #error errlist/errnos generation bug
  92. #endif
  93. const int _sys_nerr = 77;
  94.